<cfcomponent extends="Wheels">
	<cffunction name="init">
		<cfscript>
			filters(through="redirection", except="contruction,login");
		</cfscript>
	</cffunction>
	
	<cffunction name="redirection">
		<cfscript>
			if(NOT StructKeyExists(SESSION, "User")) {
				redirectTo(controller="main", action="login");
				flashInsert(error="Sorry You have been logged out due to inactivity!");
			}
		</cfscript>
	</cffunction>
</cfcomponent>